package easycloud.ecs.server;

import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Server {

	protected static AbstractApplicationContext context;

	public static void main(String[] args) throws Exception {
		context = new ClassPathXmlApplicationContext(
				new String[] { "classpath:server-context.xml",
						"classpath:common-context.xml" });

		Object lock = new Object();
		synchronized (lock) {
			lock.wait();
		}
	}
}
